package com.tos.service;

import com.tos.mapper.AirportMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AirportServiceImpl implements AirportService{
    @Autowired
    private AirportMapper airportMapper;

    @Override
    public List<String> getAirports(String city){
        return airportMapper.getAirports(city);
    }
}
